﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace _13_webAPI.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class jiSuanQiController : ControllerBase
    {
        public readonly jiSuanQi jsq;
        public jiSuanQiController(jiSuanQi jsq)
        {
            this.jsq = jsq;
        }
        [HttpGet]
        public int Add1()
        {
            return jsq.Add(3, 8);
        }
    }
}
